package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc AnalyzeNaturalDayDataDto
 * @使用场景
 */
@Data
public class AnalyzeNaturalDayDataDto extends BaseDto implements Serializable {

  /**
   * 自定义字段
   */
  @ApiModelProperty("自定义字段")
  private String customField;

  /**
   * 通用时间字段1
   */
  @ApiModelProperty("通用时间字段1")
  private Date comTimeField1;

  /**
   * 通用时间字段2
   */
  @ApiModelProperty("通用时间字段2")
  private Date comTimeField2;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      AnalyzeNaturalDayDataDto that = (AnalyzeNaturalDayDataDto) o;
      return  customField == that.customField&&comTimeField1 == that.comTimeField1&&comTimeField2 == that.comTimeField2;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), customField,comTimeField1,comTimeField2);
    }

}
